package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.WeekDao;
import com.bootdo.system.domain.WeekDO;
import com.bootdo.system.service.WeekService;



@Service
public class WeekServiceImpl implements WeekService {
	@Autowired
	private WeekDao weekDao;
	
	@Override
	public WeekDO get(Long weekId){
		return weekDao.get(weekId);
	}
	
	@Override
	public List<WeekDO> list(Map<String, Object> map){
		return weekDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return weekDao.count(map);
	}
	
	@Override
	public int save(WeekDO week){
		return weekDao.save(week);
	}
	
	@Override
	public int update(WeekDO week){
		return weekDao.update(week);
	}
	
	@Override
	public int remove(Long weekId){
		return weekDao.remove(weekId);
	}
	
	@Override
	public int batchRemove(Long[] weekIds){
		return weekDao.batchRemove(weekIds);
	}

	@Override
	public WeekDO getWeekDetail(Map<String, Object> params) {
		return weekDao.getWeekDetail(params);
	}

}
